﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using X.PagedList;

namespace XbsWebAPI.Application
{
    /// <summary>
    /// 分页对象
    /// </summary>
    /// <typeparam name="T">DTO传输对象</typeparam>
    public class PageListDto<T>
    {

        public List<T> Dtos { get; set; }

        public int PageNumber { get; set; }

        public int PageSize { get; set; }

        public int TotalCount { get; set; }

        public bool HasPreviousPage { get; set; }

        public bool HasNextPage { get; set; }
    }
}
